package lec06.pm;

import java.io.PrintWriter;
import java.util.Scanner;

public class AAddB {
	static Scanner cin = new Scanner(System.in);
	static PrintWriter cout = new PrintWriter(System.out,true);

	public static void main(String[] args) {
		while (cin.hasNext())
			cout.println(cin.nextInt() + cin.nextInt());

		cin.close();
		cout.close();
	}

}
